contains

abstract fun contains(point: V): Boolean(source)

Checks if a point is inside the polygon.

The exact behavior depends on the implementation and dimensionality of the polygon.

Return

True if the point is inside or on the boundary of the polygon, false otherwise.

Parameters

point

The point to check.